var app = angular.module('app');
app.directive('clockPicker', ['clockValuesService', function (clockValuesService) {
    return {
        replace: false,
        templateUrl: 'tpl/clockPicker/clockPicker.html',
        restrict: 'EA',
        scope: {
            ngModel: '=',
            placeHolder: '@'
        },
        link: function (scope, element, attrs) {
            scope.clocks = clockValuesService.values;
        }
    };
}]);